home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CUJ9102.ARJ / 9N02118A < prev    next >
Text File  |  1992-07-06  |  391b  |  19 lines

  1.  
  2.    ret = yylex();   
  3.    switch(ret)
  4.        {
  5.    case SET:
  6.        /* Next input should be the numeric value */
  7.        ret = yylex();
  8.        if (ret != INTEGER_NUMBER)
  9.            {
  10.            printf("\n ERROR -- number not specified
  11.                   after SET");
  12.            exit(0);
  13.            }
  14.        else
  15.            sscanf(yytext,"%d",&value);
  16.        break;
  17.        ...
  18.  
  19.